<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>模块二作业：动画制作</title>
    <style type="text/css">
        *{
            margin: 0;
            padding: 0;
        }
        .box{
            width: 200px;
            height: 100px;
            background-color: rgb(0, 128, 128);
			position: absolute;
			left: 0px;
			top: 0px;
			animation: mymove 5s infinite;
			
        }
		@keyframes mymove{
			0%{
				left: 0px;
				top: 0px;
			}
			25%{
				left: 500px;
				top: 0px;
			}
			50%{
				left: 500px;
				top: 500px;
				
			}
			75%{
				left: 0px;
				top: 500px;
			}
			100%{
				left: 0px;
				top: 0px;
			}
			
		}
    </style>
</head>
<body>
    <div class="box"></div>
</body>
</html>